package com.example.manager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author fwy
 * @since 2024-07-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Employees implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "EmployeeID", type = IdType.AUTO)
    private Integer EmployeeID;

    @TableField("CompanyName")
    private String CompanyName;

    @TableField("EmployeeType")
    private String EmployeeType;

    @TableField("Name")
    private String Name;

    @TableField("Gender")
    private String Gender;

    @TableField("Origin")
    private String Origin;

    @TableField("School")
    private String School;

    @TableField("Major")
    private String Major;

    @TableField("EducationLevel")
    private String EducationLevel;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("DateOfBirth")
    private Date DateOfBirth;

    @TableField("Department")
    private String Department;

    @TableField("Position")
    private String Position;

    @TableField("WorkLocation")
    private String WorkLocation;

    @TableField("BusinessManager")
    private String BusinessManager;

    @TableField("EducationCheif")
    private String EducationCheif;


    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("HireDate")
    private Date HireDate;

    @TableField("JobLevel")
    private Integer JobLevel;

    @TableField("Internship")
    private String Internship;

    @TableField("Probation")
    private String Probation;

    @TableField("JobSeries")
    private String JobSeries;


    public void setId(Integer id) {
        this.EmployeeID=id;
    }


}
